package com.zretc.entity;

public class Food {
	private int foodid;
	private String foodname;
	private String foodimg;
	private String foodcontent;
	private double price;
	private int sales;
	private String listtime;
	private String offtime;
	private int fdtypeid;
	
	@Override
	public String toString() {
		return "Food [foodid=" + foodid + ", foodname=" + foodname + ", foodimg=" + foodimg + ", foodcontent="
				+ foodcontent + ", price=" + price + ", sales=" + sales + ", listtime=" + listtime + ", offtime="
				+ offtime + ", fdtypeid=" + fdtypeid + "]";
	}

	public Food() {
		// TODO Auto-generated constructor stub
	}

	public Food( String foodname, String foodimg, String foodcontent, double price, int sales,
			String listtime, String offtime, int fdtypeid) {
		this.foodname = foodname;
		this.foodimg = foodimg;
		this.foodcontent = foodcontent;
		this.price = price;
		this.sales = sales;
		this.listtime = listtime;
		this.offtime = offtime;
		this.fdtypeid = fdtypeid;
	}
	
	
	public Food(int foodid, String foodname, String foodimg, String foodcontent, double price, int sales,
			String listtime, String offtime, int fdtypeid) {
		super();
		this.foodid = foodid;
		this.foodname = foodname;
		this.foodimg = foodimg;
		this.foodcontent = foodcontent;
		this.price = price;
		this.sales = sales;
		this.listtime = listtime;
		this.offtime = offtime;
		this.fdtypeid = fdtypeid;
	}

	public int getFoodid() {
		return foodid;
	}

	public void setFoodid(int foodid) {
		this.foodid = foodid;
	}

	public String getFoodname() {
		return foodname;
	}

	public void setFoodname(String foodname) {
		this.foodname = foodname;
	}

	public String getFoodimg() {
		return foodimg;
	}

	public void setFoodimg(String foodimg) {
		this.foodimg = foodimg;
	}

	public String getFoodcontent() {
		return foodcontent;
	}

	public void setFoodcontent(String foodcontent) {
		this.foodcontent = foodcontent;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getSales() {
		return sales;
	}

	public void setSales(int sales) {
		this.sales = sales;
	}

	public String getListtime() {
		return listtime;
	}

	public void setListtime(String listtime) {
		this.listtime = listtime;
	}

	public String getOfftime() {
		return offtime;
	}

	public void setOfftime(String offtime) {
		this.offtime = offtime;
	}

	public int getFdtypeid() {
		return fdtypeid;
	}

	public void setFdtypeid(int fdtypeid) {
		this.fdtypeid = fdtypeid;
	}
	
	
	
	

}
